package service

import (
	"context"
	pb "gitee.com/micro-services/protocol/room/server"
)

type RoomServerService interface {
	// 创建房间
	CreateRoom(context.Context, *pb.CreateRoomReq, *pb.CreateRoomRsp) error
	// 更新房间
	UpdateRoom(context.Context, *pb.UpdateRoomReq, *pb.UpdateRoomRsp) error
	// 删除房间
	DeleteRoom(context.Context, *pb.DeleteRoomReq, *pb.DeleteRoomRsp) error
	// 详情-批量
	BatchRoomInfo(context.Context, *pb.BatchRoomInfoReq, *pb.BatchRoomInfoRsp) error
	// 列表
	SearchRoom(context.Context, *pb.SearchRoomReq, *pb.SearchRoomRsp) error
}
